package com.yanjue.common.redisKey;

/**
 * 账户中心缓存Key
 */
public class RedisAccountKey {

    /** 图书喜欢数缓存(hash) */
    public final static String ACCOUNT_CENTER_BOOK_LIKES_COUNT = "account-center:book-likes-count";
    public static final String getUserLikeBooksKey(String userId){
        return String.format("account-center:book-likes-%s",userId);
    }

}
